import React from "react";

import "@/assets/style.scss";
// import logo from "./assets/1.png";

import TestJsx from "@/view/12/TestJsx";
import TestRender from "@/view/12/TestRender";
import TestProps from "@/view/12/TestProps";
import TestEvent from "@/view/12/TestEvent";
import TestState from "@/view/12/TestState";
import TestLifecycle from "@/view/12/TestLifecycle";
import TestCondition from "@/view/12/TestCondition";
import TestList from "@/view/12/TestList";
import TestForm from "@/view/12/TestForm";

// import App from "./view/12/TestJsx";
// console.log("logo", logo.name.age);
// // 封装 react 类组件
// class App extends React.Component {
//   constructor(props) {
//     super(props);
//   }

//   render() {
//     return (
//       <div>
//         <h1>hello</h1>
//       </div>
//     );
//   }
// }

function App() {
  return <TestForm name="爸爸" />;
}

export default App;
